package ooday03;

public class InterfaceDemo {
    public static void main(String[] args) {
        //Inter o = new Inter()编译错误
    }
}
interface Inter{
    void eat();
    abstract void show();
}
class InterImpl implements Inter{
    @Override
    public void eat() {

    }
    @Override
    public void show() {

    }
}

interface Inter1{
    void say();

}
interface Inter2{
    void test();
}
abstract class Aoo{
    abstract void show();
}
class Boo extends Aoo implements Inter1,Inter2{
    @Override
    public void say() {

    }

    @Override
    public void test() {

    }

    @Override
    void show() {

    }
}
interface Inter3 extends Inter1{
    void aa();
}
class Coo implements Inter3{
    @Override
    public void aa() {

    }

    @Override
    public void say() {

    }
}